using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using System.Web.Mvc.Ajax;
using TeamCommunitySolution.Extensions.ModuleProxies;
using TeamCommunitySolution.Models;

namespace TeamCommunitySolution.Controllers
{
    [Authorize]    
    public class SystemUserController : Controller
    {
        BaseModuleProxy baseProxy = new BaseModuleProxy();

        public ActionResult PersonalProfile()
        {
            UserModel user  = baseProxy.FindUserByUsername(User.Identity.Name);
            return View("PersonalProfile", user);
        }
    }
}
